//
//  UIView+aToast.h
//  TzyjMainProj
//
//  Created by DF_ZK on 3/10/17.
//  Copyright © 2017 orientsec. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIView+Toast.h"

@interface UIView (aToast)

+ (void)showCustomToast:(NSString *)text;

+ (void)showCustomToast:(NSString *)text duration:(NSTimeInterval)duration position:(id)position;

- (void)showCustomToast:(NSString *)text;

- (void)showCustomToast:(NSString *)text duration:(NSTimeInterval)duration position:(id)position;

- (void)showCustomToast:(NSString *)text duration:(NSTimeInterval)duration completion:(void(^)(BOOL didTap))completion;

- (void)showCustomToast:(NSString *)text duration:(NSTimeInterval)duration position:(id)position title:(NSString *)title image:(UIImage *)image completion:(void(^)(BOOL didTap))completion;

@end
